package com.example.bookrecommendationjava.model;

/**
 * @BelongsProject: book-recommendation-java
 * @BelongsPackage: com.example.bookrecommendationjava.model
 * @Author: ZhShy
 * @CreateTime: 2022-03-17 19:53
 * @Description:
 */
public class Like {
    private Integer likeId;
    private Integer userId;
    private Integer bookId;

    public Integer getLikeId() {
        return likeId;
    }

    public void setLikeId(Integer likeId) {
        this.likeId = likeId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Like() {
    }

    public Like(Integer likeId, Integer userId, Integer bookId) {
        this.likeId = likeId;
        this.userId = userId;
        this.bookId = bookId;
    }

    public Like(Integer userId, Integer bookId) {
        this.userId = userId;
        this.bookId = bookId;
    }
}
